package com.senjoeson.thememaker; /**
 * @author MyPC
 * @date 2018/11/29
 */

import java.io.IOException;
import java.net.URL;

import javafx.application.Application;
import javafx.fxml.FXMLLoader;
import javafx.scene.Parent;
import javafx.scene.Scene;
import javafx.stage.Stage;

public class ThemeMakerApplication extends Application {

    public static void main(String[] args) {
        launch(args);
    }

    @Override
    public void start(Stage primaryStage) throws IOException {
        URL resource = getClass().getClassLoader().getResource("fxml/main.fxml");
        FXMLLoader fxmlLoader = new FXMLLoader(resource);
        Parent load = (Parent) fxmlLoader.load();
        Scene scene = new Scene(load, 600, 800);
        primaryStage.setScene(scene);
        primaryStage.show();
    }
}
